package org.chen.common.hotel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

// 便捷景点实体类
@TableName("hotel_convenient_attractions")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ConvenientAttraction {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String name;

    private BigDecimal latitude;

    private BigDecimal longitude;

    private Integer cityId;

    private String description;

    private Boolean isActive = true;

    private Integer sortOrder = 0;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}